import BasicPage from '@/components/BasicPage';
// import { Button } from 'antd'
import React from 'react';
// import App from '../../components/VirList'
import { columns } from './data';
import { userList } from './service';

export default function Test() {
  // const toolBar = [<Button type='primary' key="submit">上报</Button>]
  const getData = async (param: any) => {
    const res = await userList(param);
    console.log(res);
    return { data: { data: res.data, total: res.meta.pagination.total } };
  };
  return (
    // <App />
    <BasicPage getList={getData} title="测试页面" colums={columns} isPaging={false} />
  );
}
